<?php
define('UserPhotoPath', 'photos/');
?>
<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>bootstrap</title>
    <!-- 引入 Bootstrap -->
    <link href="asset/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div class="row col-lg-9">
        <ol class="breadcrumb">
                <li><a href="#">Home</a></li>
                <li class="active"><a href="admin.php?c=video&m=listvideos">Inter</a></li>
                <li class="active"><a href="admin.php?c=user&m=listusers">Company</a></li>

        </ol>
        <div class="row col-lg-10 col-lg-offset-1">
            <form action="admin.php?c=user&m=upduser" method=POST enctype="multipart/form-data">
                <input type="hidden" name="uid" value=<?php  echo $data['users']['uid'];  ?>>
                <!--姓名输入-->

                <div class="form-group">
                    <label for="username">企业名：</label>

                    <input class="form-control" type="text" name="uname" id="username" value=<?php  echo $data['users']['uname'];  ?>>
                </div>
                <div>
                    <!--密码输入-->
                    <label for="password">密码：</label>
                    <input class="form-control" type="password" name="upass" id="password" value= <?php  echo $data['users']['password'];  ?>>
                </div>
                <div class="form-group">

                    <label>介绍：</label>

                    <textarea class="form-control" name="intro" ><?php  echo $data['users']['intro'];  ?></textarea>

                </div>
                <div class="form-group">
                    <label >头像：</label>
                    <input class="form-control" type="file" name="img" >
                    原头像：<img  src="<?php echo UserPhotoPath.$data['users']['pic']; ?>"
                              width="80px" height="80px">
                </div>
                <!--上传设置-->
                <div class="form-group">

                    <input class="btn btn-primary" type="submit" name="submit" value="提交">
                    <input class="btn btn-default" type="reset" name="reset" value="重置">
                </div>


            </form>
        </div>
</body>
</html>

